﻿using UnityEngine;
using System.Collections;

public class ParticleKiller : MonoBehaviour {

	void LateUpdate() 
	{
		if (!particleSystem.IsAlive()) {

			GameObject.Destroy(gameObject);

		}
	}
}
